package photoPrint;

import java.io.Serializable;

/**
 * 
 */

/**
 * Classe que representa um objecto do TADPhoto
 * 
 * @author filiperosa
 *
 */
public class PhotoClass implements TADPhoto, Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7823191489673694743L;
	private String code;
	private String name;
	private int width;
	private int height;
	
	public PhotoClass(String code, String name, int width, int height){
		this.code=code;
		this.name=name;
		this.width=width;
		this.height=height;
	}

	@Override
	public String getCode() {
		return code;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public int getWidth() {
		return width;
	}

	@Override
	public int getHeight() {
		return height;
	}


	
}
